package com.yunfei.yunhetong.prodInfoDtl.bo;
import com.yunfei.yunhetong.prodInfoDtl.entity.*;
import com.yunfei.utils.string.StringUtil;
/**
*@tablename PROD_INFO_DTL
*@author zhengyunfei
*@createDate Fri Sep 27 17:02:23 CST 2019
*/ 
public class ProdInfoDtlBo implements java.io.Serializable{
	private String prodId;
	private String projId;
	private String prodNm;
	private String runTye;
	private String prodTyp;
	private String prodSts;
	private String prodRate;
	private String issSca;
	private String prodUnit;
	private String minBuyAmt;
	private String magerNm;
	private String collNm;
	private String outSerPro;
	private String divWay;
	private String acctNm;
	private String acctNo;
	private String acctBank;
	private String prodInvest;
	private String riskLvl;
	private String endDate;
	private String emplRate;
	private String riskcontrol;
	private String vidUrlId;
	private String bakInfoUrl;
	private String userId;
	private String createDate;
	private String effeFlg;
	private String showFlg;
	private String showDate;
	private String operId;
	private String operDate;
	private String flieUrlId;
	private String undsUse;
	private String repaySource;
	private String filing;
	private String downContNo;
	private String elecContId;
	private String magerId;
	private String elecContNm;
	private String elecContOperId;
	private String elecContOperDate;
	private String field;
	private String order;
   /**
		* 更改排序字段
		* @return
		*/
   public String getField() {
		   return field;
   }
   public void setField(String field) {
		   this.field = field;
   }
   public String getOrder() {
		   return order;
   }
   public void setOrder(String order) {
		   this.order = order;
   }
	private int curNo;
	public int getCurNo() {
		return curNo;
	}	
	public void setCurNo(int curNo) {
		this.curNo = curNo;
	}
	private int curSize;
	public int getCurSize() {
		return curSize;
	}
	public void setCurSize(int curSize) {
		this.curSize = curSize;
	}
	public void setProdId(String prodId){
		this.prodId=prodId;
	}
	public String getProdId(){
		return prodId;
	}
	public void setProjId(String projId){
		this.projId=projId;
	}
	public String getProjId(){
		return projId;
	}
	public void setProdNm(String prodNm){
		this.prodNm=prodNm;
	}
	public String getProdNm(){
		return prodNm;
	}
	public void setRunTye(String runTye){
		this.runTye=runTye;
	}
	public String getRunTye(){
		return runTye;
	}
	public void setProdTyp(String prodTyp){
		this.prodTyp=prodTyp;
	}
	public String getProdTyp(){
		return prodTyp;
	}
	public void setProdSts(String prodSts){
		this.prodSts=prodSts;
	}
	public String getProdSts(){
		return prodSts;
	}
	public void setProdRate(String prodRate){
		this.prodRate=prodRate;
	}
	public String getProdRate(){
		return prodRate;
	}
	public void setIssSca(String issSca){
		this.issSca=issSca;
	}
	public String getIssSca(){
		return issSca;
	}
	public void setProdUnit(String prodUnit){
		this.prodUnit=prodUnit;
	}
	public String getProdUnit(){
		return prodUnit;
	}
	public void setMinBuyAmt(String minBuyAmt){
		this.minBuyAmt=minBuyAmt;
	}
	public String getMinBuyAmt(){
		return minBuyAmt;
	}
	public void setMagerNm(String magerNm){
		this.magerNm=magerNm;
	}
	public String getMagerNm(){
		return magerNm;
	}
	public void setCollNm(String collNm){
		this.collNm=collNm;
	}
	public String getCollNm(){
		return collNm;
	}
	public void setOutSerPro(String outSerPro){
		this.outSerPro=outSerPro;
	}
	public String getOutSerPro(){
		return outSerPro;
	}
	public void setDivWay(String divWay){
		this.divWay=divWay;
	}
	public String getDivWay(){
		return divWay;
	}
	public void setAcctNm(String acctNm){
		this.acctNm=acctNm;
	}
	public String getAcctNm(){
		return acctNm;
	}
	public void setAcctNo(String acctNo){
		this.acctNo=acctNo;
	}
	public String getAcctNo(){
		return acctNo;
	}
	public void setAcctBank(String acctBank){
		this.acctBank=acctBank;
	}
	public String getAcctBank(){
		return acctBank;
	}
	public void setProdInvest(String prodInvest){
		this.prodInvest=prodInvest;
	}
	public String getProdInvest(){
		return prodInvest;
	}
	public void setRiskLvl(String riskLvl){
		this.riskLvl=riskLvl;
	}
	public String getRiskLvl(){
		return riskLvl;
	}
	public void setEndDate(String endDate){
		this.endDate=endDate;
	}
	public String getEndDate(){
		return endDate;
	}
	public void setEmplRate(String emplRate){
		this.emplRate=emplRate;
	}
	public String getEmplRate(){
		return emplRate;
	}
	public void setRiskcontrol(String riskcontrol){
		this.riskcontrol=riskcontrol;
	}
	public String getRiskcontrol(){
		return riskcontrol;
	}
	public void setVidUrlId(String vidUrlId){
		this.vidUrlId=vidUrlId;
	}
	public String getVidUrlId(){
		return vidUrlId;
	}
	public void setBakInfoUrl(String bakInfoUrl){
		this.bakInfoUrl=bakInfoUrl;
	}
	public String getBakInfoUrl(){
		return bakInfoUrl;
	}
	public void setUserId(String userId){
		this.userId=userId;
	}
	public String getUserId(){
		return userId;
	}
	public void setCreateDate(String createDate){
		this.createDate=createDate;
	}
	public String getCreateDate(){
		return createDate;
	}
	public void setEffeFlg(String effeFlg){
		this.effeFlg=effeFlg;
	}
	public String getEffeFlg(){
		return effeFlg;
	}
	public void setShowFlg(String showFlg){
		this.showFlg=showFlg;
	}
	public String getShowFlg(){
		return showFlg;
	}
	public void setShowDate(String showDate){
		this.showDate=showDate;
	}
	public String getShowDate(){
		return showDate;
	}
	public void setOperId(String operId){
		this.operId=operId;
	}
	public String getOperId(){
		return operId;
	}
	public void setOperDate(String operDate){
		this.operDate=operDate;
	}
	public String getOperDate(){
		return operDate;
	}
	public void setFlieUrlId(String flieUrlId){
		this.flieUrlId=flieUrlId;
	}
	public String getFlieUrlId(){
		return flieUrlId;
	}
	public void setUndsUse(String undsUse){
		this.undsUse=undsUse;
	}
	public String getUndsUse(){
		return undsUse;
	}
	public void setRepaySource(String repaySource){
		this.repaySource=repaySource;
	}
	public String getRepaySource(){
		return repaySource;
	}
	public void setFiling(String filing){
		this.filing=filing;
	}
	public String getFiling(){
		return filing;
	}
	public void setDownContNo(String downContNo){
		this.downContNo=downContNo;
	}
	public String getDownContNo(){
		return downContNo;
	}
	public void setElecContId(String elecContId){
		this.elecContId=elecContId;
	}
	public String getElecContId(){
		return elecContId;
	}
	public void setMagerId(String magerId){
		this.magerId=magerId;
	}
	public String getMagerId(){
		return magerId;
	}
	public void setElecContNm(String elecContNm){
		this.elecContNm=elecContNm;
	}
	public String getElecContNm(){
		return elecContNm;
	}
	public void setElecContOperId(String elecContOperId){
		this.elecContOperId=elecContOperId;
	}
	public String getElecContOperId(){
		return elecContOperId;
	}
	public void setElecContOperDate(String elecContOperDate){
		this.elecContOperDate=elecContOperDate;
	}
	public String getElecContOperDate(){
		return elecContOperDate;
	}
	public static ProdInfoDtlEntity boToEntity(ProdInfoDtlBo bo){
		ProdInfoDtlEntity entity=new ProdInfoDtlEntity();
		entity.setProdId(bo.getProdId());
		entity.setProjId(bo.getProjId());
		entity.setProdNm(bo.getProdNm());
		entity.setRunTye(bo.getRunTye());
		entity.setProdTyp(bo.getProdTyp());
		entity.setProdSts(bo.getProdSts());
		entity.setProdRate(bo.getProdRate());
		entity.setIssSca(bo.getIssSca());
		entity.setProdUnit(bo.getProdUnit());
		entity.setMinBuyAmt(bo.getMinBuyAmt());
		entity.setMagerNm(bo.getMagerNm());
		entity.setCollNm(bo.getCollNm());
		entity.setOutSerPro(bo.getOutSerPro());
		entity.setDivWay(bo.getDivWay());
		entity.setAcctNm(bo.getAcctNm());
		entity.setAcctNo(bo.getAcctNo());
		entity.setAcctBank(bo.getAcctBank());
		entity.setProdInvest(bo.getProdInvest());
		entity.setRiskLvl(bo.getRiskLvl());
		entity.setEndDate(bo.getEndDate());
		entity.setEmplRate(bo.getEmplRate());
		entity.setRiskcontrol(bo.getRiskcontrol());
		entity.setVidUrlId(bo.getVidUrlId());
		entity.setBakInfoUrl(bo.getBakInfoUrl());
		entity.setUserId(bo.getUserId());
		entity.setCreateDate(bo.getCreateDate());
		entity.setEffeFlg(bo.getEffeFlg());
		entity.setShowFlg(bo.getShowFlg());
		entity.setShowDate(bo.getShowDate());
		entity.setOperId(bo.getOperId());
		entity.setOperDate(bo.getOperDate());
		entity.setFlieUrlId(bo.getFlieUrlId());
		entity.setUndsUse(bo.getUndsUse());
		entity.setRepaySource(bo.getRepaySource());
		entity.setFiling(bo.getFiling());
		entity.setDownContNo(bo.getDownContNo());
		entity.setElecContId(bo.getElecContId());
		entity.setMagerId(bo.getMagerId());
		entity.setElecContNm(bo.getElecContNm());
		entity.setElecContOperId(bo.getElecContOperId());
		entity.setElecContOperDate(bo.getElecContOperDate());
		return entity;
	}
	public static ProdInfoDtlBo entityToBo(ProdInfoDtlEntity bo){
		ProdInfoDtlBo entity=new ProdInfoDtlBo();
		entity.setProdId(bo.getProdId());
		entity.setProjId(bo.getProjId());
		entity.setProdNm(bo.getProdNm());
		entity.setRunTye(bo.getRunTye());
		entity.setProdTyp(bo.getProdTyp());
		entity.setProdSts(bo.getProdSts());
		entity.setProdRate(bo.getProdRate());
		entity.setIssSca(bo.getIssSca());
		entity.setProdUnit(bo.getProdUnit());
		entity.setMinBuyAmt(bo.getMinBuyAmt());
		entity.setMagerNm(bo.getMagerNm());
		entity.setCollNm(bo.getCollNm());
		entity.setOutSerPro(bo.getOutSerPro());
		entity.setDivWay(bo.getDivWay());
		entity.setAcctNm(bo.getAcctNm());
		entity.setAcctNo(bo.getAcctNo());
		entity.setAcctBank(bo.getAcctBank());
		entity.setProdInvest(bo.getProdInvest());
		entity.setRiskLvl(bo.getRiskLvl());
		entity.setEndDate(bo.getEndDate());
		entity.setEmplRate(bo.getEmplRate());
		entity.setRiskcontrol(bo.getRiskcontrol());
		entity.setVidUrlId(bo.getVidUrlId());
		entity.setBakInfoUrl(bo.getBakInfoUrl());
		entity.setUserId(bo.getUserId());
		entity.setCreateDate(bo.getCreateDate());
		entity.setEffeFlg(bo.getEffeFlg());
		entity.setShowFlg(bo.getShowFlg());
		entity.setShowDate(bo.getShowDate());
		entity.setOperId(bo.getOperId());
		entity.setOperDate(bo.getOperDate());
		entity.setFlieUrlId(bo.getFlieUrlId());
		entity.setUndsUse(bo.getUndsUse());
		entity.setRepaySource(bo.getRepaySource());
		entity.setFiling(bo.getFiling());
		entity.setDownContNo(bo.getDownContNo());
		entity.setElecContId(bo.getElecContId());
		entity.setMagerId(bo.getMagerId());
		entity.setElecContNm(bo.getElecContNm());
		entity.setElecContOperId(bo.getElecContOperId());
		entity.setElecContOperDate(bo.getElecContOperDate());
		return entity;
	}
	public static String changeFieldColumn(String field){
		String result="";
			if(!StringUtil.isNullOrEmpty(field)){
				if(field.equals("prodId")){
					result="PROD_ID";
				}
				if(field.equals("projId")){
					result="PROJ_ID";
				}
				if(field.equals("prodNm")){
					result="PROD_NM";
				}
				if(field.equals("runTye")){
					result="RUN_TYE";
				}
				if(field.equals("prodTyp")){
					result="PROD_TYP";
				}
				if(field.equals("prodSts")){
					result="PROD_STS";
				}
				if(field.equals("prodRate")){
					result="PROD_RATE";
				}
				if(field.equals("issSca")){
					result="ISS_SCA";
				}
				if(field.equals("prodUnit")){
					result="PROD_UNIT";
				}
				if(field.equals("minBuyAmt")){
					result="MIN_BUY_AMT";
				}
				if(field.equals("magerNm")){
					result="MAGER_NM";
				}
				if(field.equals("collNm")){
					result="COLL_NM";
				}
				if(field.equals("outSerPro")){
					result="OUT_SER_PRO";
				}
				if(field.equals("divWay")){
					result="DIV_WAY";
				}
				if(field.equals("acctNm")){
					result="ACCT_NM";
				}
				if(field.equals("acctNo")){
					result="ACCT_NO";
				}
				if(field.equals("acctBank")){
					result="ACCT_BANK";
				}
				if(field.equals("prodInvest")){
					result="PROD_INVEST";
				}
				if(field.equals("riskLvl")){
					result="RISK_LVL";
				}
				if(field.equals("endDate")){
					result="END_DATE";
				}
				if(field.equals("emplRate")){
					result="EMPL_RATE";
				}
				if(field.equals("riskcontrol")){
					result="RISKCONTROL";
				}
				if(field.equals("vidUrlId")){
					result="VID_URL_ID";
				}
				if(field.equals("bakInfoUrl")){
					result="BAK_INFO_URL";
				}
				if(field.equals("userId")){
					result="USER_ID";
				}
				if(field.equals("createDate")){
					result="CREATE_DATE";
				}
				if(field.equals("effeFlg")){
					result="EFFE_FLG";
				}
				if(field.equals("showFlg")){
					result="SHOW_FLG";
				}
				if(field.equals("showDate")){
					result="SHOW_DATE";
				}
				if(field.equals("operId")){
					result="OPER_ID";
				}
				if(field.equals("operDate")){
					result="OPER_DATE";
				}
				if(field.equals("flieUrlId")){
					result="FLIE_URL_ID";
				}
				if(field.equals("undsUse")){
					result="UNDS_USE";
				}
				if(field.equals("repaySource")){
					result="REPAY_SOURCE";
				}
				if(field.equals("filing")){
					result="FILING";
				}
				if(field.equals("downContNo")){
					result="DOWN_CONT_NO";
				}
				if(field.equals("elecContId")){
					result="ELEC_CONT_ID";
				}
				if(field.equals("magerId")){
					result="MAGER_ID";
				}
				if(field.equals("elecContNm")){
					result="ELEC_CONT_NM";
				}
				if(field.equals("elecContOperId")){
					result="ELEC_CONT_OPER_ID";
				}
				if(field.equals("elecContOperDate")){
					result="ELEC_CONT_OPER_DATE";
				}
		}
		return result;
	}
}

